package com.dk.service;


import com.dk.pojo.TAuthor;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AuthorService {
    PageInfo<TAuthor> getInfo(Integer pageNum, Integer pageSize);

    int add(TAuthor author);

    List<TAuthor> getInfoByChannnel();

    TAuthor toUpdate(Integer authorId);

    int updateChannel(TAuthor author);

    int deleteInfoById(Integer authorId);

    List<TAuthor> selectAuthor();
}
